﻿public class NetEvent_Like : NetEvent
{
    public static NetEvent_Like NewEvent()
    {
        return new NetEvent_Like();
    }

    protected override ISerialize NewData() => new LikeData();


    protected override void Excuate(ISerialize data)
    {
        LikeData updateData = data as LikeData;

        GameDebug.Log($"更新 beLike：{updateData?.likeFromUserId} ");

        MGame.instance.MUser.AddBeLike(updateData.likeFromUserId);
    }

}
